import request from '@/utils/request'

export const getAllApi = (customerId, invoiceCode, skuId, pageNum, pageSize) => {
  return request.get(`/outboundOrderWeights?customerId=${customerId}&invoiceCode=${invoiceCode}&skuId=${skuId}&pageNum=${pageNum}&pageSize=${pageSize}`)
}
export const saveWeightApi = (data) => {
  return request.post(`/outboundOrderWeights/saveWeights`, data)
}
export const updateByIdApi = (id) => {
  return request.put(`/outboundOrderWeights/updateById/${id}`)
}